/* 整体容器样式 */
.container {
    padding-bottom: 70px;
}

/* 疫苗容器样式 */
.vaccine-container {
    padding: 15px;
}

/* 疫苗记录样式 */
.vaccine-records {
    margin-bottom: 20px;
}

.vaccine-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
    margin-bottom: 15px;
}

.vaccine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.vaccine-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.vaccine-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
}

.vaccine-status.completed {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.vaccine-status.upcoming {
    background-color: #FFF3E0;
    color: #FF9800;
}

.vaccine-status.in-progress {
    background-color: #E3F2FD;
    color: #2196F3;
}

.dose {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.dose:last-child {
    border-bottom: none;
}

.dose-number {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.dose-date {
    color: #666;
    font-size: 13px;
}

.dose-manufacturer {
    color: #999;
    font-size: 12px;
}

.upcoming-dose {
    color: #FF9800;
}

/* 接种建议样式 */
.vaccine-tips {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

.vaccine-tips h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.vaccine-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vaccine-tips li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.vaccine-tips i {
    margin-right: 10px;
    color: #2196F3;
    margin-top: 2px;
}

.vaccine-tips span {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 加载状态样式 */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #666;
}

.loading-spinner i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2196F3;
}

.loading-spinner span {
    font-size: 14px;
}

/* 错误消息样式 */
.error-message {
    display: none; /* 默认隐藏 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFF8F7;
    border: 1px solid #FFCCC7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #F5222D;
    text-align: center;
}

.error-message i {
    font-size: 24px;
    margin-bottom: 10px;
}

.error-message span {
    font-size: 14px;
    margin-bottom: 15px;
}

.retry-button {
    background-color: #F5222D;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.retry-button:hover {
    background-color: #FF4D4F;
}

/* 无数据样式 */
.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    background-color: #F9F9F9;
    border-radius: 8px;
    color: #999;
    text-align: center;
}

.no-data i {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-data span {
    font-size: 14px;
}